package com.mh.pojo;

import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

import lombok.Data;

/**
 * 账单表(Bill)表实体类
 *
 * @author zmh
 * @since 2025-02-08 09:18:49
 */
@SuppressWarnings("serial")
@Data
public class Bill {
    //账单ID
    private Integer id;
    //用户ID
    private Integer userId;
    //账本ID
    private Integer bookId;
    //资产账户ID
    private Integer accountId;
    //分类ID
    private Integer categoryId;
    //金额
    private Double amount;
    //类型（1-收入 2-支出）
    private Integer type;
    //交易时间
    private LocalDateTime transactionTime;
    //备注
    private String remark;
    //地理位置
    private String location;

    private Date createTime;
}

